package Model.SignModel;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Uploader {
    private int id;
    private String hg_id;
    private String hg_name;
    private String lr_id;
    private String lr_name;
    private String organization_id;
    private String organization_name;

    @DateTimeFormat(pattern = "yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date uploadTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getHg_id() {
        return hg_id;
    }

    public void setHg_id(String hg_id) {
        this.hg_id = hg_id;
    }

    public String getHg_name() {
        return hg_name;
    }

    public void setHg_name(String hg_name) {
        this.hg_name = hg_name;
    }

    public String getLr_id() {
        return lr_id;
    }

    public void setLr_id(String lr_id) {
        this.lr_id = lr_id;
    }

    public String getLr_name() {
        return lr_name;
    }

    public void setLr_name(String lr_name) {
        this.lr_name = lr_name;
    }

    public String getOrganization_id() {
        return organization_id;
    }

    public void setOrganization_id(String organization_id) {
        this.organization_id = organization_id;
    }

    public String getOrganization_name() {
        return organization_name;
    }

    public void setOrganization_name(String organization_name) {
        this.organization_name = organization_name;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    @Override
    public String toString() {
        return "Uploader{" +
                "id=" + id +
                ", hg_id='" + hg_id + '\'' +
                ", hg_name='" + hg_name + '\'' +
                ", lr_id='" + lr_id + '\'' +
                ", lr_name='" + lr_name + '\'' +
                ", organization_id='" + organization_id + '\'' +
                ", organization_name='" + organization_name + '\'' +
                ", uploadTime=" + uploadTime +
                '}';
    }
}
